<section id="notice" class="ml-24 mr-24">
	<hl-page-header title="专属服务">
		<hl-button v-if="quanxian.indexOf('c241') > -1"  @on-click="header_create_edit('add')" type="outline">新建公告</hl-button>
	</hl-page-header>
	<!-- //搜索部分 -->
	<div class="clearfix mt-15 search-container-house border-b pb-10">
		<div class="pull-left">
			<p class="color-cfcfcf">信息搜索</p>
			<div class="search-text">
				<span class="icon-Gm-search"></span>
				<input type="text" class="" v-model="keyword" placeholder="发布标题" />
			</div>
		</div>
		<div class="pull-left ml-24">
			<p class="color-cfcfcf">创建人</p>
			<div class="search-text">
				<span class="icon-Gm-search"></span>
				<input type="text" class="" v-model="user" placeholder="全部"/>
			</div>
		</div>
		<div class="pull-left ml-24">
			<p style="color:#fff;">/</p>
			<hl-button @on-click="search" size="mini">查询</hl-button>
			<hl-button @on-click="reset" size="mini">重置</hl-button>
		</div>
	</div>

	<!-- //主体列表 -->
	<div class="house-sharing-list clearfix">
		<div class="house-left" style="width:100%">
			<div class="house-scroll">
				<div class="house-title">
					<div class="dy-flex">
						<div class="dy-fx-1">序</div>
						<div class="dy-fx-2">负责地区</div>
						<div class="dy-fx-2">负责人</div>
						<div class="dy-fx-2">电话</div>
						<div class="dy-fx-3 cursor" @click="createTime">创建时间
							<span :class="{'icon-Gm-sort-default': orders == '#' || columns == 'UT', 'icon-Gm-sort-ascending': orders == 'A' && columns == 'CT', 'icon-Gm-sort-descending': orders == 'D' && columns == 'CT'}">
								<span class="path1"></span><span class="path2"></span>
							</span>
						</div>
						<div class="dy-fx-3 cursor" @click="updateTime">最后更新时间
							<span :class="{'icon-Gm-sort-default': (orders == '#') || columns == 'CT', 'icon-Gm-sort-ascending': orders == 'A' && columns == 'UT', 'icon-Gm-sort-descending': orders == 'D' && columns == 'UT'}">
								<span class="path1"></span><span class="path2"></span>
							</span>
						</div>
						<div class="dy-fx-2">创建人</div>
						<div class="dy-fx-3">操作</div>
					</div>
				</div>
				<div class="dy-flex color-666 house-two-tone text-center" v-for="(item, index) in data.services">
					<div class="dy-fx-1">{{ index+1 }}</div>
					<div class="dy-fx-2 ellipsis-1">{{ item.responsibleArea}}</div>
					<div class="dy-fx-2 ellipsis-1">{{ item.responsibleUserName}}</div>
					<div class="dy-fx-2 ellipsis-1">{{ item.responsibleUserMobile}}</div>
					<div class="dy-fx-3">{{ item.createTime | framtTime }}</div>
					<div class="dy-fx-3">{{ item.updateTime | framtTime }}</div>
					<div class="dy-fx-2 ellipsis-1">{{ item.createUserName}}</div>
					<div class="dy-fx-3">
						<a href="javascript:;" class="mr-5"  @click="header_create_edit('edit',item.id)" v-if="quanxian.indexOf('c242') > -1">编辑</a>
						<a href="javascript:;" class="mr-5"  @click="toTop(item.id,item.topFlag)" v-if="quanxian.indexOf('c243') > -1">{{item.topFlag == 'Y'?'取消':'置顶'}}</a>
						<a href="javascript:;" class="ml-5"  @click="delItem(item.id)" v-if="quanxian.indexOf('c244') > -1">删除</a>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="user-page ptb-10 clearfix">
		<div class="pull-left user-page-num">
			<span class="font-14">共<i>{{data.totalCount}}</i>条记录</span>
			<span>每页
			<hl-select :data="pageCounts" v-model="limit" width="80" @on-change="eventPage"></hl-select>

				条</span>
		</div>
		<div class="pull-right">
			<ul class="page" id="page"></ul>
		</div>
	</div>
</section>

<script src="modules/workbench/scripts/exclusive_service.js" charset="utf-8"></script>

<style media="screen">
	.flexbox {
		display: flex;
		justify-content: center;
	}

	.flexbox>span {
		display: flex;
		align-items: center;
		margin-top: -5px;
		font-size: 22px;
	}

	.active {
		color: #7F8FAA
	}

	h4 {
		margin: 0;
	}

	.color-cfcfcf {
		color: #cfcfcf;
	}

	.search-container-house {
		position: relative;
	}

	.search-container-house .icon-turn-right {
		display: inline-block;
		transform: translate(-5px, 0) rotate(90deg);
	}

	.search-text {
		background: rgba(249, 249, 249, 1);
		height: 34px;
		position: relative;
		width: 220px;
		border-radius: 4px;
	}

	.search-text span {
		position: absolute;
		left: 8px;
		top: 0;
		line-height: 34px;
	}

	.search-text input {
		width: 100%;
		height: 100%;
		background: none;
		border: 0;
		outline: medium;
		text-indent: 25px;
	}


	.house-sharing-text span {
		background: rgba(249, 249, 249, 1);
		box-shadow: none;
		border: 0;
		color: #666;
	}

	input::-webkit-input-placeholder {
		color: #999;
	}

	input:-moz-placeholder {
		color: #999;
	}

	input:-ms-input-placeholder {
		color: #999;
	}

	.house-sharing-list {
		margin: 10px 0 0;
		overflow: hidden;
		text-align: center;
		border-radius: 4px;
		border: 1px solid rgba(235, 235, 235, 1);
		display: flex;
	}

	.house-sharing-list .house-left {
		width: 796px;
		border-right: 1px solid rgba(235, 235, 235, 1);
		line-height: 40px;
	}

	.house-sharing-list .house-right {
		width: 180px;
		line-height: 40px;
	}

	.house-title {
		background: rgba(240, 242, 255, 1);
		color: rgba(165, 170, 183, 1);
	}

	.house-operate {
		text-align: center;
		font-size: 0;
		height: 40px;
	}

	.house-operate a {
		font-size: 14px;
		margin: 0 3px;
	}

	.house-two-tone:nth-child(2n+1),
	.house-operate:nth-child(2n+1) {
		background: rgba(249, 249, 249, 1);
	}
</style>
